import { ChangeDetectionStrategy, Component } from '@angular/core';

@Component({
  selector: 'app-clearable',
  templateUrl: './clearable.component.html',
  styles: [
    `
      .lv-icon-host:hover {
        cursor: pointer;
      }
    `,
  ],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ClearableComponent {
  inputValue = 'test';
  loading = true;

  removeAll() {
    this.inputValue = '';
  }
}
